package com.bingxue.edu.management.education.model.resp;

import com.mybatisflex.annotation.RelationManyToOne;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 选课权限返回-学员管理学生详情的选课权限
 *
 * @author zq
 * @since 2024/08/21 00:02
 */
@Data
@Schema(description = "选课权限返回信息")
public class EnrollPermissionResp {

    @Schema(description = "id")
    private String id;

    @Schema(description = "学生id")
    private String studentId;

    @Schema(description = "科目")
    private String subject;

    @Schema(description = "年份")
    private Integer admissionYear;

    @Schema(description="班型等级")
    private String classLevel;

    @Schema(description = "班级类型id")
    private String classTypeId;

    @RelationManyToOne(
            selfField = "class_type_id",
            targetTable = "base_class_type",
            targetField = "id",
            valueField = "name"
    )
    @Schema(description = "班级类型名称")
    private String classTypeName;

    @Schema(description="注释")
    private String remark;
}
